<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<?php
$meta = array(
	array('name' => 'robots', 'content' => 'no-cache'),
	array('name' => 'description', 'content' => $description),
	array('name' => 'keywords', 'content' => $keywords),
	array('name' => 'Content-type', 'content' => 'text/html; charset=utf-8', 'type' => 'equiv')
);
echo meta($meta);
echo link_tag('favicon.ico', 'shortcut icon', '');
?>
<title><?php echo $template["title"]; ?></title>
<?php foreach($styles as $style) echo "<link href='{$style}' rel='stylesheet' type='text/css' />\n"; ?>
<script type="text/javascript">
	var base_url = "<?php echo $base_url; ?>";
	var base_path = "<?php echo $base_path; ?>";
</script>
<?php foreach($scripts as $script) echo "<script type='text/javascript' src='{$script}' ></script>\n"; ?>
<?php echo $template['metadata']; ?>
</head>
<body>
<div class="container_12"><?php echo $template['body']; ?></div>
</body>
</html>